import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'dnp_welcome_controller.dart';

class DnpWelcomePrivacyWidget extends StatelessWidget {
  const DnpWelcomePrivacyWidget({super.key});

  @override
  Widget build(BuildContext context) {
    return GestureDetector(
      onTap: (){
        Get.find<DnpWelcomeController>().privacyClick();
      },
      child: Image.asset(
        'assets/images/welcome_privacy_cover_bg.webp',
        fit: BoxFit.cover,
      ),
    );
  }
}
